package com.sunlands.zlcx.usercenter.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: anjl
 * @description:
 * @data: 2020-09-01
 **/
@ApiModel("用户在线状态")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OnlineStateVO {
    @ApiModelProperty(position = 10, value = "用户id")
    private Long userId;
    @ApiModelProperty(position = 20, value = "在线状态")
    private Integer online;
    @ApiModelProperty(position = 30, value = "APP前后台运行 1前台运行，0后台运行")
    private Integer topRun;
    @ApiModelProperty(position = 30, value = "channel id 创建时间")
    private Long channelId;
    @ApiModelProperty(position = 30, value = "切到后台时间--（后台运行开始时间）")
    private Long backRunTime;
}
